package org.example.seckill.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.seckill.bean.goods;
import org.example.seckill.mapper.goodsMapper;
import org.example.seckill.service.goodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @author woopsion
 * @date 2025-06-30
 */
@Service
public class goodsServiceImpl extends 
        ServiceImpl<goodsMapper, goods>
    implements goodsService {
    
    @Autowired
    goodsMapper goodsMapper;


    @Override
    public List<goods> goodsList() {
        return goodsMapper.selectList(null);
    }
}
